package nz.example.uni;

import java.io.Serializable;

public class Address implements Serializable {
	
	private static final long serialVersionUID = 8120374985330807204L;
	
	private int _number;
	private String _street;
	private String _city;
	
	public Address()
	{
		_street = "";
		_city = "";
	}

	public int getNumber() {
		return _number;
	}

	public void setNumber(int number) {
		_number = number;
	}

	public String getStreet() {
		return _street;
	}

	public void setStreet(String street) {
		_street = street;
	}

	public String getCity() {
		return _city;
	}

	public void setCity(String city) {
		_city = city;
	}
	
	@Override
	public String toString() {
		return this.getNumber()+" "+this.getStreet()+", "+this.getCity();
	}
}
